#
# Be sure to run `pod lib lint BusinessUnitBUName.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'MirrorUMSPosPay'
  s.version          = '0.1.2'
  s.summary          = 'A short description of MirrorUMSPosPay.'
  s.swift_version    = '5.0'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/PeopleDream/mirror-UMSPosPay'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'wenda xu' => 'xu_wendajxq@163.com' }
  s.source           = { :git => 'git@gitee.com:PeopleDream/mirror-UMSPosPay.git', :tag => 'MirrorUMSPosPay-' + s.version.to_s }
  # s.social_media_url = 'https://twitter.com/theochen'

  s.ios.deployment_target = '10.0'

  s.cocoapods_version = '>= 1.8.0'
  s.static_framework = false
  s.prefix_header_file = false

  s.source_files = [
    'BusinessUnit/MirrorUMSPosPay/Classes/**/*.{m,h}',
    'Mirror/MirrorUMSPosPay/Classes/**/*.{h}',
  ]
  s.preserve_paths = [
    'BusinessUnit/MirrorUMSPosPay/README.md',
    'BusinessUnit/MirrorUMSPosPay/CHANGELOG.md'
  ]
  s.libraries  = 'sqlite3', 'c++'
  
  s.resource_bundles = {
    'MirrorUMSPosPay' => ['BusinessUnit/MirrorUMSPosPay/Assets/**/*']
  }
  s.vendored_libraries = [
    'BusinessUnit/MirrorUMSPosPay/Classes/ThirdParty/UMSPosPayOnly/libUMSPosPayOnly.a',
    'BusinessUnit/MirrorUMSPosPay/Classes/ThirdParty/UPPaymentControl/libPaymentControl.a',
  ]
  
  s.dependency 'MirrorWechatSDK', '~> 0.1.2'
  
  valid_archs = ['armv7', 'armv7s', 'x86_64', 'arm64']
  s.xcconfig = {
     'VALID_ARCHS' =>  valid_archs.join(' '),
  }
  
end

